import Vue, { openBlock, createElementBlock, createElementVNode, createTextVNode } from "vue";
var _export_sfc = (sfc, props) => {
  for (const [key, val] of props) {
    sfc[key] = val;
  }
  return sfc;
};
const _sfc_main$1 = {
  name: "ScadaButton",
  methods: {
    clickHandler() {
      console.log("\u70B9\u51FB\u4E86\u6211\u7684\u6309\u94AE\u54E6");
    }
  }
};
const _hoisted_1$1 = /* @__PURE__ */ createTextVNode(" \u6211\u662F\u4E00\u4E2AButton\u7EC4\u4EF6 ");
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
  return openBlock(), createElementBlock("div", null, [
    _hoisted_1$1,
    createElementVNode("button", {
      onClick: _cache[0] || (_cache[0] = (...args) => $options.clickHandler && $options.clickHandler(...args))
    })
  ]);
}
var ScadaButton = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
const _sfc_main = {
  name: "ScadaLoading"
};
const _hoisted_1 = /* @__PURE__ */ createElementVNode("button", null, "\u8FD9\u662F\u4E00\u4E2Aloading\u7EC4\u4EF6", -1);
const _hoisted_2 = [
  _hoisted_1
];
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  return openBlock(), createElementBlock("div", null, _hoisted_2);
}
var ScadaLoading = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
const version = "0.0.1";
const components = [
  ScadaButton,
  ScadaLoading
];
const install = () => {
  components.map((component) => {
    Vue.component(component.name, component);
  });
};
const ScadaLibrary = {
  install,
  version,
  ScadaButton,
  ScadaLoading
};
export { ScadaLibrary as default };
